]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
panel: Align left and right margin for status panel item
authorRazze <razzeee@gmail.com>
Tue, 2 Feb 2021 00:54:48 +0000 (01:54 +0100)
committerMarge Bot <marge-bot@gnome.org>
Thu, 4 Feb 2021 20:08:29 +0000 (20:08 +0000)
We now set a padding for the left and right
side of the pill. We also got rid of the padding on the icon.

Probably broken due to the removal of the dropdown arrow
which likly handled the padding the right side of this item before.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1615>

data/theme/gnome-shell-sass/widgets/_panel.scss

index bc526f0fe75e2c9cf0fc194e70fe5a689cd5da41..966fb6c77e5e430a796653eb0fcc694df99c9136 100644 (file)
@@ -86,8 +86,6 @@ $panel_transition_duration: 250ms; // same as the overview transition duration
 
     // app menu icon
     .app-menu-icon {
-      margin-left: $base_margin;
-      margin-right: $base_margin;
       -st-icon-style: symbolic;
       // dimensions of the icon are hardcoded
     }
@@ -137,3 +135,8 @@ $panel_transition_duration: 250ms; // same as the overview transition duration
   spacing: $base_spacing;
   .label-shadow { color: transparent; }
 }
+
+#appMenu .panel-status-menu-box {
+  padding: 0 $base_padding;
+  spacing: $base_spacing;
+}
\ No newline at end of file